package com.nettools;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;

/**
 * Created by Administrator on 2016-12-22.
 */

public class Constants {
    private static Calendar calendar = Calendar.getInstance();
    private static  SimpleDateFormat format = new SimpleDateFormat("yyyy-MM", Locale.CHINA);

    public static final String HOST_URL = "http://photo.juele.com.cn";
    public static final String BASE_URL = HOST_URL + "/API.ashx";
    public static final String REQUEST_CONFIRM_CODE = BASE_URL + "/verify";
    public static final String REFRESH_TOKEN = BASE_URL + "/app/user/access_token/refresh";

    public static final String LOGIN =  "000";
    public static final String GET_ORDER_INFO = "001";
    public static final String SEND_PRICE_INFO = "002";
    public static final String GET_PRICE_INFO = "003";
    public static final String GET_SIGN_DATA = "004";

    public static final String SEND_UPLOAD_CONSEQUENCE = BASE_URL + "/app/photo/add";

    public static final String TWO_D_ADDRESS = BASE_URL + "/app/qrcode";



    public static final String AccessKeyId = "LTAI7nAozadcxZip";

    public static final String AccessKeySecret = "KlyrIkxzt9X2crEywQuIdDlrCWR07Y";

    public static final String OSS_BUCKET = "erwin20180515112321";

    public static String PHOTO_FOLDER = "";




//    -------------------------------response-------------------------------
    public static final int RESPONSE_OK = 200;
    public static final String STATUS = "status";
    public static final String MSG = "msg";
    public static final String DATA = "data";
    public static final String CODE = "code";



    public static final String OSS_ENDPOINT = "http://oss-cn-shanghai.aliyuncs.com";





}
